Add patches and scripts