modified the script for file changes