Fixed an issue caused by $VERSION being declared after it was used