resize script to fit makeup