First run detection