Useful (homemade) scripts for Dalton