Scritp to perform actions when a file or files change