fixed a bug in the kernel class. add a feature to change the 'install_modules.php" file permission