move developer_mode setting to the beginning