Adds cwd config and change default dir property value