Updated to execute multiple scripts