Added option to define if the increment will be automatic