wires up peer; fixes problem with script not appearing