Profile call func

Missing the change for AdminMain(), add a couple more checks and theres no need to use call_user_func_array if theres only 1 param to be passed