changed -c option to include current parameter and added mirror_current, and current functions to support updating current version