Added install script, addition of new logic in .profile + cleanup.