updating Heroku files -- added more validation code