Use Properties instead of here document