changed shell: to run: shell() to allow g_to_index[genome] to work