Fix init scripts and inital setup