Added --attach option for launch.