Enable controls based on extension