added folder as header and extended sleep time.
removed sleep before serial update.