stackbar.R now works with command line arguments.