General script run from Monitor or launcher