updated nexttag.rb with action placeholders