I assume you can call it from any directory? Maybe it would be nice to add some documentation to this script, so that it's clear how to call it and what it should produce.