Initial commit for scale layer script.