Bugfix in setup script, edit file instead of to stdout