added attribute contruction script