Running in intellij properly