$ws argument added for set_indents()
improved text, $ws argument added for set_indents()