finished bash init skeleton