Added pattern reloading