Have a working command for now. Needs some improvements yet.