fix if statements

On branch master
Changes to be committed:

	modified:   init.sh
	modified:   scripts/middleman.sh