Finally fixing the sourcing issue, silly me forgot to rename the searh from sh to bash