switch installation process to pure bash, thx to @pioneerskies