Hacked and reinstalling from scratch

I have been hacked and site wiped by hackers to the root directory.
My SQL database is totaly intact.
I"d like to reinstall from scratch if possible and re-link to the SQL database I have (over 250 users).
What is the BEST way to go about this.
Install phpBB 2.0.21 and upgrade that to IM?
or
Install IM and go the multiple upgrade of phpBB to bring it up to 2.0.21 status?
I'll be changing the "Powered By" text in the footers to image links to help cut the search by hackers down.
I'll also be implementing the security patchs ASAP.
My SQL database is totaly intact.
I"d like to reinstall from scratch if possible and re-link to the SQL database I have (over 250 users).
What is the BEST way to go about this.
Install phpBB 2.0.21 and upgrade that to IM?
or
Install IM and go the multiple upgrade of phpBB to bring it up to 2.0.21 status?
I'll be changing the "Powered By" text in the footers to image links to help cut the search by hackers down.
I'll also be implementing the security patchs ASAP.