patches and necessary files