fixing standalone plugin execution