updated install function and index help