fix session
init script fixes