Added first run activity. Moved logic.