I'm trying to get this running and use it as a script. Will clean it up later