fixed script to work better with hyperdsl