Replaying myths was normal religious procedure all to be performed as the gods did

Could you correct the punctuation please?
Re-playing myths was normal religious procedure - all to be performed as the gods did.