various small scripts