add script to get the right IP address value from salt command