Added scripts for automatic generation of from blocks.

Scripts originally developed by Giacomo Faggiani, and provided by Danny Price.