Changed deploy task to flush output after every print()