Add handling of absolute path for working directory