make the script capable of managing INTELLIJ_HOME with spaces