KA_JMX-22: Cleaned up the script.