Added reusable function to wait for page to load rather than hardcode sleep before almost every line of code. Implemented for convert to order pagination FTs