load events on startup and fixed rake task for standalone