fixed memory allocation bug, shell commands now work