patch now fully working. 100% working but messy build file.