changed tarball installation into install_dir