remove file extension from scripts