Added new command-line argument named rebuild