updated setup mock-script