Build of dist with where queries and sessionToken fix