catch migration commands in smt wrapper
check for beeing root