add caching to get_stage3.sh