editing for subjets and qg-discriminator process added to endpath