Adding hex attribute in scripts and changing address to a addresses array