improve script performance

* delete base64 size check; 
* support open url fail detach; 
* custom log filepath