remove commented if statement in the main file as it's no longer needed.