Switched method of running sql script to not run into sudoers problem on redhat