updated the shell script for parametrize the metadataserver. Updated al code
for new scheduler

Change-Id: I9c2f5d1db9e7ef822105eb02ea4cb4cf78c2068c