added in some changes I had made previously after SofDev but didnt push to github before I forked this project
made some changes to auto files to help portability