Updated install script to make directories if they don't exist