fixed shellc, reorderc does not work, not sure why as it is very similiar to shellc. Also wrote a few additional wrapper functions