Changed the files for auto so that more functions