McGregor implements new sex offender ordinance