Add pre-cache command