removed Path::Tiny from converter as it is no longer used in the current version
Added a few failsafes and made some syntax more legible