some utilities to work with opensesame