changing to running in terminal not notebook