changed the precedence so the add subhandler and the modify handler will always execute in order, added refresh to the addsubhandler so the modify handler does not try to do the same thing.  also fixed a typo for the file handlers