Cleaned up sheep.lua some. Transform is iffy.