maya plugin bugfix

using now functions as cmd creators instead of lambdas