changes in script(length added to each subsession, add queries)