final_proj.pl check for allow