fixing build script to run on irc