Broke out transport_opts array to fix null class error