Bootstrap script and some depencies corrections