simplified script to make less layers