Remove any extension from script name