Exchange open flash chart from directory to plugin