fix scripts property