Updated code so that it will build sky-table