Added the -w argument to add a user-specified delay (in seconds) to the ...

...major places where the script makes calls.