Seperate deploy from build script. Minor fixes, improve error detection.
Update README.