updated with functionality to automatically increment versions