adding alex's script to combine .dir files, combine our scripts into one