Removing heap extensions from shell scripts