connectTo now throws an exception(in case of error) instead of a return value to prevent writing to input connectors
added configuration for release builds