More robust post install script.