Forgot to add, when i first did the work and engine was running again, it started running badly after few weeks. Opened top cover and the bolts which hold down rocker shaft were half loose and one about to pop off. Most likely because of oversight by me. Tightened down and ok now. Maybe slight bend in it though?
Did you check your manifolds gasket? Leak there can cause knocking sound too

