Added --ref and --working to list of args
Removed --last3 --last5 and added support for --ref