added install_mode=true code run protection
merged deployment scripts into database.sql file
cleaned up syntax and added "if exist" protection to several statements