attach_to_core command now takes a single parameter.
added more sanity checking