trying to improve load time by making pictures and scripts to wait till it finishes loading