got production mode working