gem works for writing scripts too