production build flag working