Updated create_connection_mod