Add README, fix broken if statements in sh files