missed the fi on the script :-(