made the script useable!