Adding support log in system execute.
Refactoring workdir and sync_folder options.