fix init script checks for user