add bash init base on location