Fixing console execution