added compression feature to ktsBat and stripping quote from aamasterUpdate