set environment for script so that it can be called by default on a jruby env