WIP
Linking into complete script
Breaking out subroutines in scripts
fix conflict