fixed missing script problem