Use colon instead of semicolon in if command..