using lucid locally but oneiric on AWS, so generalize