add the clenup command after all is done