moved queries location and add css