Fixed initscript to set STASH_HOME as environment variable.