cache scripts for course 1-4

Also improve callout caching.