scale kernel now read from file