Removed unneeded xbuildname parameter + commented yet unused BS api code