Trimmed the script