New working script
updated and working
works and updated