Added a config file to control permission length