common bash script