A small utility script to rotate