sorted the scripts into dirs