Changed debug mode and added a dev command