added the option to run scripts