Manipulating the retrieval of stored light pulses