implementing option to change path of the plugins directory