removed file ending on script