add handlers and vars file