config and startup script fix