Bug fix to setting max points and verifymax

Also added args logic