fixing boot scripts