Update script to work with apache 4.3 or older versions