fixed heirarching of dialog_scripts
correctly return script ids in migration
added options as dialog script component