Fixed the script problem