Cleanup dangling flyscript references