use bash instead of sh (error is occured in ubuntu)