Is there a way to fix this $%/? script error?