fixed command line support. added rotating fits