Added main to usage sample