Replaced script injection with condition loader of socket.io and buildhook