script now work