Finished command handler