add sh extensions where appropriate