cleanup back itnegrate code
script to combine inference