adds integral option to qtraj block