Working version complete with command line powers.