Added error checking on Arduino enable prompt and improved cross platform compatibility. Also separated the Arduino enable function to allow for proper execution without Arduino