updated attributes script
fixed incorrect variable name in block.h, it wasn't an issue