better building in bot commandline and netbeans IDE