use set/unset dev mode for building an application