scripts under functions so they are importable in python, reqs