fix style and add script