changed script (added folder creation - apl_progs,spl_progs)