run from bash file