updated with warning for the level of hackery these scripts involve.