Set first run variable outside conditional so it will properly be updated during the first run and pause on subsequent runs.