write directory path for Heroku