New command in transform. Lots of bugfixes.