set up cal script