some updates to ip-script