Adapt scripts to the new documentation

Please use the ${varname} convention