Fixed main script name
Fixed issue breaking chain method
Convert crlf to lf