added cleanup for rails container