Fix JAVA_HOME
Add logger package for change
Add correct permissions
Attempt changing root's profile without changing directories
Ignore /root/.profile since it gets cleared either way