check if php server is ready + fix batches link sprites