modify script for KT apns-conf.xml