fixing a bug in init to not load local.py at the end of init