Forgot to add fi at the end of my if statements