Variable Replace in Script Variables

I’ve got a Variable set up like the following
VariableA = Something_#{VariableB}_
VariableB = Foo

When I use $OctopusParameters[“VariableA”] in a powershell script step, I’m not getting Something_Foo_ as the value, but Something_#{VariableB}_

This works correctly in our older system running octopus 2 but the recursive substitution isn’t working the the octopus 3 instance.

Nevermind. I had forgotten to apply the variable library set that included the variable templates for this project.