added version no to output of finalmodel