Fixed settings so that os comes before template