added intial script for fst/dist calcs