script for local region