prepend PS1, don't overwrite it
use /our/path instead of /your/path/env
only envdir needed
added some sanity checking on the  directory to make sure that we can modify it..