cleaned up code in 'av_certs.rb'