updated interface.js. added priority option to sequences