Fixing file path inconsistencies

Also more debugging