Added Raycasting to main script