Updated file generation methods
Reformatted the getMessage() methods
Made perm priority go from lowest to highest