Add 'isReleaseBuild' method to script.