removed doc_set_mag file, centralized dock commands