fixed bug not finding inst folders and switched to github authorisation tokens as opposed to password