minor fixes, working on cow script