Merge defaults in internal method
chdir before execution
Use work_dir for tmp files
Version 0.0.3