comment if __name__ == '__main__': line in application