Updated to allow running multiple scripts