add missing utility functions, fix paths, update dependencies, etc.