Add prog to documentation for rotate and region