moved scripts to bottom