Added connection script for mac