some useful scripts and stuff here