sharing a script at the pre stages