edits for production mode