added methods to run dev=true mode