Support cwd option Close #1