Adding __FILE__ == $PROGRAM_NAME and using rubocop