Adding the required permissions to kima.sh