Use active record entry instead of int to handle new script levels in te...

...sts