cloud settings template code cleansing