Added endif.pl script, updated README and moved other script to bin/