update to run on centos 6