why is this not working from the command line?