Added device specific code to config.xml