Reverted changes in the script