fixing usgs.zen to work with birrp
minor changes in zen and birrp --> fixed issue with writing script file