Not really, mostly a few name changes like "->addScript" becoming "->script", well, drop the "add" on everything. The return code does not need the XLM part, etc ... You will see when you relink to the 5.0 script. When a error pops up, just look up the function in the examples for the new correct write method, and do a mass search & replace. Depending on how big your scripts are, you need to do it maybe a dozen times for most common functions, and for your init settings that now uses the flag function.
Like i said, took me 10min to convert my current project, and a few min to fix any change i missed after. There is no real chance in the function vars etc, so its mostly a major search & rename job without breaking the project.