new script to check for local changes