styling, cleanup, added sync script