Simplified Precache script.