added redirect utility, fixed new line at the end of all files