Added .conf record adder to main file, erroring out. Maybe turn basedir into standard variable that doesn't require any calculating before use?