Script in if-statement as to close square webcam