add init script for pact web