before upload to dev server