Added command line options to make it more utility like.