Found out the proper way to run commands