I guess you need the __name__ variable set