make sure to save ctls as well
closes #79
add script to tools menu
add error cases around everything sicne it seems that some built-in function doesnt properly handle errors