move workspace dir to instance init