Added docs.sh script
Minor fixes to buildand run