small scripts and dirty hacks