So after trying much to do this on my own and failing due to a syntax error, I tried directly copying a code that was proven to work on another computer just to get the same