Added option to skip auto register.