Updated metadata commands in scaling.template