changed script bug