takes `baseDir` value from environment variable