Added --work-dir option to jagen-spawn
Moved generic target env to sdk