Updating Lofgren: adding $NAME_PREFIX and $TOPIC as vars (not just filling them in)