Removed unused variable
Implemented --repeat and --delay for click operation
Using --repeat instead of ruby loop