added bash code