Fix install.sh script

	* Fix wrong argument count check
	* Fix using README instead of README.md
	* Add helper function