fixed unmanaged profile execution

code bug where only profiles named 'unmanaged' would successfully
execute unmanaged.