Made modules optional based on active profile