make workingDir optional