fix broken script and make output look good