csh script fixed