Use %-formatting instead of trying ruby #{key}