set a timeout on the bad email message
changed script name "prestart" to "build"
The script has debug features, so we don't want to run those when it is deployed