I am not that strong with bash scripting. :(