Added a new python script, "seems" much more intelligent