First working version which overrides clone command and delegates other commands