ps is working, exit function works sometimes. other commands not working for some reason.