Fixed reconnect.pl (now it will automatically reconnect if bluetooth connection was lost)