dna modified to support production/staging modes at new server location, set different database for different cell modes