Improve the mux create routine to handle the unset and auto values
Merge pull request #375 from perexg/mux-create

Improve the mux create routine to handle the unset and auto values