small scripts, bits and bobs