You should run scripts from the interface administration This is to avoid unsolicited access to your stats