Stop the script from double execution with a "loaded" variable