Auto config slicename

Added Auto-configuration of slice for resource name