expand magres script page