Remove redundant keywords
s/exists/exist/g
s/raise/fail/g
Modify %w brackets
Remove useless variables