Generate profile without disabled rules.
Use correct directory in shell scripts.