This might be a small bug.   I think you're adding an extra ";" statement to the end of the script.