old scripts i wrote a long time ago