hacking with a couple of scripts