Added CLI param functionality.