fixed up my local-haddocks script