modified start database script to account for new settings env