you need to add this to application_top.php

require(DIR_WS_INCLUDES . 'add_application_top.php');
