init: script cleanup

Change-Id: Ie07ae22a77fe7ba377740278189da95568bb1c7c