Run directly in PyCharm for easier testing.