script including position changed