Updated with dynamic config and startup script