Alter the order by manager main() and namespace of manager