addressed some file creations and permission fix related to reboot issue