Remove the extension from the script