Implemented a clone-task option
Fixes for account initialization