added delete_repeats script and fixed vkapi