updated script for address