BUGFIX wrong parameter for dclone()
work in progress: refactor Commands.pm