Moved the index from property file initialization to a seperate
function.