Developer preview
Final, working script.