Finished untested brick making script.