added new flag to keep primers