only run prism when the file changes, added linux protection