fixing bug in subroutine naming and adding linked library offsets