adds pre-load script for self updates