fixed ms eol for linux(and probably mac) + fixed little mistake in py script