automate dock setup