better cowfile support