Updated download functions to get either the normal jar or snapshot