various small utility script