Port printBox in all bash script