fixes script filepath caching issue with node