seperated scaling into post-process script