Useful scripts for academic use.