Some kind of new features

Hi, I forked long time ago, and that was my first python __script__ I just think that these bits of code can complete your work... 

Thanks for the base you gave me...