Added data query script