Improved script
Merge branch 'master' into gh-pages

* master:
  Improved script