Cleaned up the files, added in newlines, deleted unused vars and files etc
Altered the local config backup stuff to ensure the right dirs get made and that the script respects local conf
Ignore any errors when attempting to mkdir