Using script fileds in custom score queries