Define script and before script instructions for testing