Fix TSE disable
Since the template records are first processed at compile time, and then at run time, some adjustments are needed on the substitutions file to include the option to replace the content of the database at run time without impacting other IOCs that use the same module.