#!/bin/bash check_installed() { if ! command -v $1 &> /dev/null then echo 0 else echo 1 fi }