Added pluginstep creation logic