Added more options to connectPhantom