Reorganized the code of this plugin and has been fixed some bugs, TC
v1.1