forks out bash_funcs.sh to scripts repo, restructures slightly