adding bash file for data install + bug fixes