Good story! I think, you should as well add the link to the MSDN Library.
Rebuilding System Databases
http://msdn.microsoft.com/en-us/library/dd207003(v=SQL.100).aspx
Please tell us more about the reason of the corruption and why restoring user databases.
Greetings,
Christoph Muthmann
SQL Server MVP
Have a nice day,Christoph