organized files, added pat's script