Removed ajax_wait due to 'waiting for page to load' issue