add required libraries to repo
refactor scripts