Correct name of crab dir
Move util function to sep file
Copy script for trees/pat files
sync