Added 5s wait to script to make sure core.log is ready for tail