Function to assign new names and choose supported types for all controls