remove prof file
pass socket file name to hdevtools (otherwise it never works)
add new stinput/stoutput standard functions