move the read_ahead script to device