move import of application_properties inside the if __name__ == "__main__"