- fixed bug not to save account and password to the setting file.
- check the folder exist before creating script files.