wait can now be run x many times via an argument from the command line