The exec command takes a script file name as the argument. What might be confusing is that the name shall be valid for the virtual file system that PS is using. If your script is in the PS root directory, try exec /this/scriptfile or start the server with -run=/this/scriptfile.