fixed script handling and external manpages