stop using kernel script, embed boot logic in project