Added CLI for console parameters. Fix issue to take integer source inputs