modified browser launch implementation.