updated comments; fixed issue with caching files storing results for default inputs