fix work dir and tmp dir aswell as sesam startup