added dir checks for racket, haskell and heroku