further refinement for pre-heroku deployment