Added code to add the required variables per design to the factors list

Reviewer: Chika Arevalo

Issue: none