Startup script added and index dir updated