Script mk2

I think it is ready for general beta. Has some docs.