fixed production setup
mail settings
updates to update script, separate application from database server