Added sleep statement and forced use of ./ for internal scripts