updated run with return , registerAssets()