added some scripts for hopper