fixing file paths for testing and ensuring nagios user