updated to native agent 1.7.8 and added new init code call