updated dependencies
changed how errors are handled
set filepaths dynamically