Iterate through @hash in erb in script
Change @hash to @data