Wrote comments for cache script and added option to check also the base workspace