Script for fixing positions