Used regex to fix non-compiled paths