updated tracking script to detect hands