passcal pattern script