first script commit

Very crude script that we need to refactor