Before making an order under section 19 , the court must have regard to—
(a) the offender’s character, age, health and mental condition; and
(b) the nature of the offence; and
(c) circumstances (if any) under which the offence was committed that make the offence less serious than what it would be if it had been committed under other circumstances; and
(d) anything else to which the court considers it proper to have regard.