updated scripts for UNIX