Fixed version python script not working with tags.