Updated samples with new code and reading of properties file to get environment