adding ability to access attributes with subscript, adding more to generator scripts