Renamed variable for the storage location of the plan
added location to provider settings
Removed debug statement and made code working again