had to move reload(sys)