Hercules support

Change-Id: I3160844cba6d3dc1a79b568521ea39e8a7c9fbbd