Updated to use Python 3 loader