more messing trying to fix script