Move transports outside main