customize flash and routes