setting up to real time reading the commands