added force_generate_controls option