This code will only work on icme-hadoop1. We need to make it more general and flexible to work on icme-hadoop1 and the puma system.