script portability for sko