changed the way the xslang strings and functions are created from python