Yes, but it only translates once. The current redirect code passes a entire new template dir/filename, if it was changes to pass a new command instead then the new command could be reprocessed and not only would you get the new template dir/file but it would use the isPillInstalled and atvFirmware code that's already in XMLConverter.py meaning it wouldn't be needed in the template as well.