Fixing silly syntax issue breaking the the script, forgot a then.