fix: ensure newline at end of file in multiple scripts