Added check ip step as optional through the command line option