Gratings and Substitutions!