After implement the script and reopen the application, just I see dialogue window with the Charles logo and information about "Loading preferences".