Made stuff faster and more python3