Added output during execution
Handle cr, crlf correctly
Included run of perl setup