script to query express