Make the script more independent