fix script framework for linux