Firstbuild

This is first working version raw script that needs to be optimized for easy re-use