before production upload