Added lines to configure Dock speed
Improved mac commands