weighted smoothing, aggregation queries and more loading scripts