disable dev_mode and prepare for release