Remove useless parts of autostart script