Scripts for Paleomag analysis