Added strtolower to make sef look nicer and removed 2 unused lines