This should be done for both the AppleScript and the Python options. Passwords in the source code is a really bad idea.