Adding guard statement to simplify script
Using an array instead of a hash to simplify

and because the hash keys were never being used, just the values