fixed settings and startup script