site configuration and debug off default
removing trailing newlines