final_proj.pl add for multiple order directives