Added script to track button presses and send movement data to server