Added storing of last response for scripts.