moved sprockets generation to guard