Upgrade the API in the post install script, fix debian path