Setting up the loader