Attempting to re-write system(again)