fix use_script to use ruby's require