mock web server run script