updating app to use path module to avoid issues with cross-platform path resolution