Tidyed up github import script