Fixed loader and implemented SQL location load