use variable in script for IP