switch between the sandbox and real amt

Though I cannot access to the real amt, I have tested that the switch worked when I want to use the sandbox. 
woah, how does this work? The base method is defined here as an instance method, but the subclass method (above, line 66) is a staticmethod. These should both be staticmethods, I think?