Replace hardcoded plugin path with plugin_dir_path function