picFolder variable is now a self executing function and now used att all places.
Removed unused variable.