Modified perl scripts for Jenkins env