updates index file to improve packaging