Made GetComponent better (thanks @Rohansi)