Added schemes to compile for legacy devices or newer ones