(somewhat) useful scripts