build: Update and add install script
Merge branch 'immortal-new' into immortal-upstream