Fixing single/stack script so that data is actually pulled.