Fixed script. Seperated library and example connection.