Move define plugin to plugin dir