values taken now directly in command

maximum, minimum and resolution values are now in command arguments.
Defaults have been added