Add support for Bash and OSX