Made some fixes for running scripts at FRF