XML is now written using ElementTree. Also added support for multiple 'src' paths.