adding loading images script