Fix request.lua to handle trying to open a stupid file
Add production flag to upstarted jobs