fixing startup script and guis