Added hql scripts