Fix relative paths to helper file
Add some error handling
Remove debug echoing