access script properties right. fixes pagination