Added DEVMODE variable