Wrote a FREENAS script