- add caching for scripts