updates to hybrid script