remove path from amportal exec, use global path