add script to make crab3 file