Adding logs, parameterizing wait times