fixing call to script