adding template handling for processing and set domain screens